<template name='collapseArrow'>
    {{#if collapsed}}
        <span class="collapse-switch icon-right-dir" data-index="{{index}}" data-collapsed="{{collapsed}}"></span>
    {{else}}
        <span class="collapse-switch icon-down-dir" data-index="{{index}}" data-collapsed="{{collapsed}}"></span>
    {{/if}}
</template>